

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 引入bootstrap样式
import '../node_modules/bootstrap/dist/css/bootstrap.css'

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const app = createApp(App)
// 创建pinia实例
const pinia = createPinia()
// 挂载方法
pinia.use(piniaPluginPersistedstate)
// 挂载方法
app.use(createPinia())
app.use(pinia)
app.use(router)

app.mount('#app')
